package com.xzll.test.leetcode.suanfa.day02;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;

/**
 * @Author: hzz
 * @Date: 2023/2/1 15:02:52
 * @Description: 剑指 Offer 24. 反转链表
 * <p>
 * 定义一个函数，输入一个链表的头节点，反转该链表并输出反转后链表的头节点。和Solution那个题基本一样
 */
public class ReverseList {

//	private Stack<ListNode> tempStack = new Stack<>();
//
//	public ListNode reverseList(ListNode head) {
//		digui(head);
//		ListNode peek = tempStack.peek();
//		ListNode listNode = new ListNode(peek.val);
//
//		Iterator<ListNode> iterator = tempStack.iterator();
//		while (iterator.hasNext()) {
//			ListNode pop = tempStack.pop();
//			listNode.next = new ListNode(pop.val);
//		}
//		return listNode;
//	}
//
//	private void digui(ListNode head) {
//		if (head != null) {
//			tempStack.push(new ListNode(head.val));
//			digui(head.next);
//		}
//	}


	//官方解答
	public ListNode reverseList(ListNode head) {
		return recur(head, null);    // 调用递归并返回
	}
	private ListNode recur(ListNode cur, ListNode pre) {
		if (cur == null) return pre; // 终止条件
		ListNode res = recur(cur.next, cur);  // 递归后继节点
		cur.next = pre;              // 修改节点引用指向
		return res;                  // 返回反转链表的头节点
	}

	public class ListNode {
		int val;
		ListNode next;

		ListNode(int x) {
			val = x;
		}
	}

	public static void main(String[] args) {
		String s="[{\"id\":121,\"chatId\":\"200-7-edb8662738\",\"accountName\":\"0001\",\"accountPhone\":\"13564070001\",\"accountId\":\"1021000951608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"1\",\"beginTime\":\"2023-01-30 16:24:55\",\"endTime\":\"2023-01-30 16:31:00\",\"createTime\":\"2023-01-30 16:24:55\",\"updateTime\":\"2023-01-30 16:31:00\"},{\"id\":125,\"chatId\":\"200-7-edb8662738\",\"accountName\":\"0001\",\"accountPhone\":\"13564070001\",\"accountId\":\"1021000951608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 16:37:43\",\"endTime\":\"2023-01-30 16:44:40\",\"createTime\":\"2023-01-30 16:37:41\",\"updateTime\":\"2023-01-30 16:44:40\"},{\"id\":128,\"chatId\":\"200-7-178a07eb26\",\"accountName\":\"3262\",\"accountPhone\":\"13621193262\",\"accountId\":\"101100022566\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":2,\"dealStatus\":2,\"remark\":\"坐席主动发起\",\"beginTime\":\"2023-01-30 16:41:35\",\"endTime\":\"2023-01-30 16:50:57\",\"createTime\":\"2023-01-30 16:41:34\",\"updateTime\":\"2023-01-30 16:50:57\"},{\"id\":130,\"chatId\":\"200-7-edb8662738\",\"accountName\":\"0001\",\"accountPhone\":\"13564070001\",\"accountId\":\"1021000951608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 16:51:01\",\"endTime\":\"2023-01-30 16:56:00\",\"createTime\":\"2023-01-30 16:48:32\",\"updateTime\":\"2023-01-30 16:56:00\"},{\"id\":131,\"chatId\":\"200-7-edb8611e71\",\"accountName\":\"1133\",\"accountPhone\":\"18911111133\",\"accountId\":\"1021000621681\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-30 16:51:01\",\"endTime\":\"2023-01-30 16:59:05\",\"createTime\":\"2023-01-30 16:51:00\",\"updateTime\":\"2023-01-30 16:59:04\"},{\"id\":133,\"chatId\":\"200-7-178a07acbd\",\"accountName\":\"2334\",\"accountPhone\":\"15927352334\",\"accountId\":\"101100006589\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 16:59:16\",\"endTime\":\"2023-01-30 17:00:39\",\"createTime\":\"2023-01-30 16:54:08\",\"updateTime\":\"2023-01-30 17:00:39\"},{\"id\":134,\"chatId\":\"200-7-edf4040e51\",\"accountName\":\"古志林\",\"accountPhone\":\"15833331111\",\"accountId\":\"1022001155665\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 17:00:46\",\"endTime\":\"2023-01-30 17:01:10\",\"createTime\":\"2023-01-30 16:56:14\",\"updateTime\":\"2023-01-30 17:01:10\"},{\"id\":135,\"chatId\":\"200-7-edb8662738\",\"accountName\":\"0001\",\"accountPhone\":\"13564070001\",\"accountId\":\"1021000951608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 17:01:16\",\"endTime\":\"2023-01-30 17:06:35\",\"createTime\":\"2023-01-30 16:57:46\",\"updateTime\":\"2023-01-30 17:06:34\"},{\"id\":140,\"chatId\":\"200-7-eb9ff82ab3\",\"accountName\":\"测试鄂1\",\"accountPhone\":\"18977779999\",\"accountId\":\"1012001155763\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":2,\"dealStatus\":2,\"remark\":\"坐席主动发起\",\"beginTime\":\"2023-01-30 17:20:30\",\"endTime\":\"2023-01-30 17:23:43\",\"createTime\":\"2023-01-30 17:20:29\",\"updateTime\":\"2023-01-30 17:23:43\"},{\"id\":146,\"chatId\":\"200-7-eb645a1c28\",\"accountName\":\"0002\",\"accountPhone\":\"13564070002\",\"accountId\":\"1011000941608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"1\",\"beginTime\":\"2023-01-30 17:27:04\",\"endTime\":\"2023-01-30 17:32:10\",\"createTime\":\"2023-01-30 17:27:04\",\"updateTime\":\"2023-01-30 17:32:10\"},{\"id\":147,\"chatId\":\"200-7-edf4040dc9\",\"accountName\":\"何丹丹\",\"accountPhone\":\"13564075566\",\"accountId\":\"1022001155529\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 17:34:04\",\"endTime\":\"2023-01-30 17:40:10\",\"createTime\":\"2023-01-30 17:34:03\",\"updateTime\":\"2023-01-30 17:40:10\"},{\"id\":149,\"chatId\":\"200-7-edf4040e9d\",\"accountName\":\"测试渝1\",\"accountPhone\":\"13422226666\",\"accountId\":\"1022001155741\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 17:37:07\",\"endTime\":\"2023-01-30 17:42:10\",\"createTime\":\"2023-01-30 17:37:06\",\"updateTime\":\"2023-01-30 17:42:10\"},{\"id\":150,\"chatId\":\"200-7-17c5a299e2\",\"accountName\":\"8467\",\"accountPhone\":\"17746508467\",\"accountId\":\"102100015586\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-30 17:42:21\",\"endTime\":\"2023-01-30 17:47:20\",\"createTime\":\"2023-01-30 17:42:20\",\"updateTime\":\"2023-01-30 17:47:20\"},{\"id\":151,\"chatId\":\"200-7-edb85c3c7d\",\"accountName\":\"1122\",\"accountPhone\":\"18911111122\",\"accountId\":\"1021000301693\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 17:44:51\",\"endTime\":\"2023-01-30 17:50:00\",\"createTime\":\"2023-01-30 17:44:50\",\"updateTime\":\"2023-01-30 17:50:00\"},{\"id\":154,\"chatId\":\"200-7-edb8611e71\",\"accountName\":\"1133\",\"accountPhone\":\"18911111133\",\"accountId\":\"1021000621681\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 17:48:26\",\"endTime\":\"2023-01-30 19:23:49\",\"createTime\":\"2023-01-30 17:48:25\",\"updateTime\":\"2023-01-30 19:23:48\"},{\"id\":167,\"chatId\":\"200-7-edf4040e9d\",\"accountName\":\"测试渝1\",\"accountPhone\":\"13422226666\",\"accountId\":\"1022001155741\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 18:19:07\",\"endTime\":\"2023-01-30 18:24:10\",\"createTime\":\"2023-01-30 18:19:06\",\"updateTime\":\"2023-01-30 18:24:10\"},{\"id\":170,\"chatId\":\"200-7-edf4040dc9\",\"accountName\":\"何丹丹\",\"accountPhone\":\"13564075566\",\"accountId\":\"1022001155529\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 19:23:16\",\"endTime\":\"2023-01-31 08:40:08\",\"createTime\":\"2023-01-30 19:23:15\",\"updateTime\":\"2023-01-31 08:40:07\"},{\"id\":171,\"chatId\":\"200-7-eb645a1c28\",\"accountName\":\"0002\",\"accountPhone\":\"13564070002\",\"accountId\":\"1011000941608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-30 19:24:01\",\"endTime\":\"2023-01-31 08:52:10\",\"createTime\":\"2023-01-30 19:23:29\",\"updateTime\":\"2023-01-31 08:52:10\"},{\"id\":172,\"chatId\":\"200-7-eb6459ce62\",\"accountName\":\"0004\",\"accountPhone\":\"13564070004\",\"accountId\":\"1011000921698\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 08:40:16\",\"endTime\":\"2023-01-31 08:45:20\",\"createTime\":\"2023-01-30 19:40:43\",\"updateTime\":\"2023-01-31 08:45:20\"},{\"id\":179,\"chatId\":\"200-7-edf4040ab8\",\"accountName\":\"范颂丁\",\"accountPhone\":\"18899991120\",\"accountId\":\"1022001154744\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 08:59:18\",\"endTime\":\"2023-01-31 10:01:50\",\"createTime\":\"2023-01-31 08:59:17\",\"updateTime\":\"2023-01-31 10:01:50\"},{\"id\":180,\"chatId\":\"200-7-eb9ff82361\",\"accountName\":\"钟高荣\",\"accountPhone\":\"13164707736\",\"accountId\":\"1012001153889\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 09:07:09\",\"endTime\":\"2023-01-31 09:12:10\",\"createTime\":\"2023-01-31 09:07:08\",\"updateTime\":\"2023-01-31 09:12:10\"},{\"id\":184,\"chatId\":\"200-7-edb85c3c7d\",\"accountName\":\"1122\",\"accountPhone\":\"18911111122\",\"accountId\":\"1021000301693\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 09:27:27\",\"endTime\":\"2023-01-31 09:27:33\",\"createTime\":\"2023-01-31 09:27:25\",\"updateTime\":\"2023-01-31 09:27:33\"},{\"id\":185,\"chatId\":\"200-7-edb85c3c7d\",\"accountName\":\"1122\",\"accountPhone\":\"18911111122\",\"accountId\":\"1021000301693\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 09:27:36\",\"endTime\":\"2023-01-31 09:32:40\",\"createTime\":\"2023-01-31 09:27:35\",\"updateTime\":\"2023-01-31 09:32:40\"},{\"id\":190,\"chatId\":\"200-7-edf4040e9d\",\"accountName\":\"测试渝1\",\"accountPhone\":\"13422226666\",\"accountId\":\"1022001155741\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 09:49:01\",\"endTime\":\"2023-01-31 09:54:00\",\"createTime\":\"2023-01-31 09:49:01\",\"updateTime\":\"2023-01-31 09:54:00\"},{\"id\":209,\"chatId\":\"200-7-edf4040ab8\",\"accountName\":\"范颂丁\",\"accountPhone\":\"18899991120\",\"accountId\":\"1022001154744\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 10:51:38\",\"endTime\":\"2023-01-31 10:56:40\",\"createTime\":\"2023-01-31 10:51:36\",\"updateTime\":\"2023-01-31 10:56:40\"},{\"id\":214,\"chatId\":\"200-7-edf4040e9d\",\"accountName\":\"测试渝1\",\"accountPhone\":\"13422226666\",\"accountId\":\"1022001155741\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 11:00:40\",\"endTime\":\"2023-01-31 11:05:40\",\"createTime\":\"2023-01-31 11:00:38\",\"updateTime\":\"2023-01-31 11:05:40\"},{\"id\":221,\"chatId\":\"200-7-edf4040e9d\",\"accountName\":\"测试渝1\",\"accountPhone\":\"13422226666\",\"accountId\":\"1022001155741\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 11:06:08\",\"endTime\":\"2023-01-31 11:11:10\",\"createTime\":\"2023-01-31 11:06:06\",\"updateTime\":\"2023-01-31 11:11:10\"},{\"id\":227,\"chatId\":\"200-7-178a07acbd\",\"accountName\":\"2334\",\"accountPhone\":\"15927352334\",\"accountId\":\"101100006589\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 11:15:01\",\"endTime\":\"2023-01-31 11:20:00\",\"createTime\":\"2023-01-31 11:15:00\",\"updateTime\":\"2023-01-31 11:20:00\"},{\"id\":232,\"chatId\":\"200-7-edb860d03c\",\"accountName\":\"6666\",\"accountPhone\":\"15855556666\",\"accountId\":\"1021000601660\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 11:20:01\",\"endTime\":\"2023-01-31 11:25:11\",\"createTime\":\"2023-01-31 11:20:00\",\"updateTime\":\"2023-01-31 11:25:10\"},{\"id\":233,\"chatId\":\"200-7-edf4040e51\",\"accountName\":\"古志林\",\"accountPhone\":\"15833331111\",\"accountId\":\"1022001155665\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 11:25:16\",\"endTime\":\"2023-01-31 11:30:21\",\"createTime\":\"2023-01-31 11:20:08\",\"updateTime\":\"2023-01-31 11:30:20\"},{\"id\":236,\"chatId\":\"200-7-eb645a1c28\",\"accountName\":\"0002\",\"accountPhone\":\"13564070002\",\"accountId\":\"1011000941608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 14:20:59\",\"endTime\":\"2023-01-31 14:26:00\",\"createTime\":\"2023-01-31 14:20:58\",\"updateTime\":\"2023-01-31 14:26:00\"},{\"id\":237,\"chatId\":\"200-7-edf404090e\",\"accountName\":\"陈雪纤\",\"accountPhone\":\"13422223333\",\"accountId\":\"1022001154318\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 14:28:24\",\"endTime\":\"2023-01-31 14:33:30\",\"createTime\":\"2023-01-31 14:28:23\",\"updateTime\":\"2023-01-31 14:33:30\"},{\"id\":241,\"chatId\":\"200-7-178a07acbd\",\"accountName\":\"2334\",\"accountPhone\":\"15927352334\",\"accountId\":\"101100006589\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 14:34:51\",\"endTime\":\"2023-01-31 14:40:00\",\"createTime\":\"2023-01-31 14:34:51\",\"updateTime\":\"2023-01-31 14:40:00\"},{\"id\":248,\"chatId\":\"200-7-edf404090e\",\"accountName\":\"陈雪纤\",\"accountPhone\":\"13422223333\",\"accountId\":\"1022001154318\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 15:01:11\",\"endTime\":\"2023-01-31 15:06:10\",\"createTime\":\"2023-01-31 15:01:11\",\"updateTime\":\"2023-01-31 15:06:10\"},{\"id\":255,\"chatId\":\"200-7-eb645a1c53\",\"accountName\":\"1144\",\"accountPhone\":\"18911111144\",\"accountId\":\"1011000941651\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 15:27:03\",\"endTime\":\"2023-01-31 15:27:08\",\"createTime\":\"2023-01-31 15:27:01\",\"updateTime\":\"2023-01-31 15:27:07\"},{\"id\":257,\"chatId\":\"200-7-eb645a1c53\",\"accountName\":\"1144\",\"accountPhone\":\"18911111144\",\"accountId\":\"1011000941651\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 15:30:52\",\"endTime\":\"2023-01-31 15:36:00\",\"createTime\":\"2023-01-31 15:30:51\",\"updateTime\":\"2023-01-31 15:36:00\"},{\"id\":260,\"chatId\":\"200-7-eb645a1c28\",\"accountName\":\"0002\",\"accountPhone\":\"13564070002\",\"accountId\":\"1011000941608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 15:53:22\",\"endTime\":\"2023-01-31 16:00:01\",\"createTime\":\"2023-01-31 15:53:21\",\"updateTime\":\"2023-01-31 16:00:00\"},{\"id\":264,\"chatId\":\"200-7-eb9ff82361\",\"accountName\":\"钟高荣\",\"accountPhone\":\"13164707736\",\"accountId\":\"1012001153889\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 16:12:22\",\"endTime\":\"2023-01-31 16:17:30\",\"createTime\":\"2023-01-31 16:12:22\",\"updateTime\":\"2023-01-31 16:17:30\"},{\"id\":266,\"chatId\":\"200-7-eb9ff82361\",\"accountName\":\"钟高荣\",\"accountPhone\":\"13164707736\",\"accountId\":\"1012001153889\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:17:34\",\"endTime\":\"2023-01-31 16:22:40\",\"createTime\":\"2023-01-31 16:17:33\",\"updateTime\":\"2023-01-31 16:22:40\"},{\"id\":267,\"chatId\":\"200-7-eb645a1c28\",\"accountName\":\"0002\",\"accountPhone\":\"13564070002\",\"accountId\":\"1011000941608\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:23:20\",\"endTime\":\"2023-02-01 14:38:41\",\"createTime\":\"2023-01-31 16:23:19\",\"updateTime\":\"2023-02-01 14:38:40\"},{\"id\":268,\"chatId\":\"200-7-eb9ff82361\",\"accountName\":\"钟高荣\",\"accountPhone\":\"13164707736\",\"accountId\":\"1012001153889\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:23:31\",\"endTime\":\"2023-01-31 16:28:30\",\"createTime\":\"2023-01-31 16:23:29\",\"updateTime\":\"2023-01-31 16:28:30\"},{\"id\":269,\"chatId\":\"200-7-eb6459ce62\",\"accountName\":\"0004\",\"accountPhone\":\"13564070004\",\"accountId\":\"1011000921698\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:27:29\",\"endTime\":\"2023-01-31 16:32:30\",\"createTime\":\"2023-01-31 16:27:27\",\"updateTime\":\"2023-01-31 16:32:30\"},{\"id\":270,\"chatId\":\"200-7-eb645a1c53\",\"accountName\":\"1144\",\"accountPhone\":\"18911111144\",\"accountId\":\"1011000941651\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:30:53\",\"endTime\":\"2023-01-31 16:36:00\",\"createTime\":\"2023-01-31 16:30:51\",\"updateTime\":\"2023-01-31 16:36:00\"},{\"id\":271,\"chatId\":\"200-7-eb9ff82361\",\"accountName\":\"钟高荣\",\"accountPhone\":\"13164707736\",\"accountId\":\"1012001153889\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:32:34\",\"endTime\":\"2023-01-31 16:37:40\",\"createTime\":\"2023-01-31 16:32:33\",\"updateTime\":\"2023-01-31 16:37:40\"},{\"id\":272,\"chatId\":\"200-7-eb6459ce62\",\"accountName\":\"0004\",\"accountPhone\":\"13564070004\",\"accountId\":\"1011000921698\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:38:40\",\"endTime\":\"2023-01-31 16:43:40\",\"createTime\":\"2023-01-31 16:38:38\",\"updateTime\":\"2023-01-31 16:43:40\"},{\"id\":273,\"chatId\":\"200-7-eb645a1c53\",\"accountName\":\"1144\",\"accountPhone\":\"18911111144\",\"accountId\":\"1011000941651\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:39:52\",\"endTime\":\"2023-01-31 16:39:58\",\"createTime\":\"2023-01-31 16:39:50\",\"updateTime\":\"2023-01-31 16:39:57\"},{\"id\":276,\"chatId\":\"200-7-edf404090e\",\"accountName\":\"陈雪纤\",\"accountPhone\":\"13422223333\",\"accountId\":\"1022001154318\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 16:44:23\",\"endTime\":\"2023-01-31 16:49:30\",\"createTime\":\"2023-01-31 16:44:21\",\"updateTime\":\"2023-01-31 16:49:30\"},{\"id\":277,\"chatId\":\"200-7-eb645a1c53\",\"accountName\":\"1144\",\"accountPhone\":\"18911111144\",\"accountId\":\"1011000941651\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 16:44:51\",\"endTime\":\"2023-01-31 16:48:02\",\"createTime\":\"2023-01-31 16:44:51\",\"updateTime\":\"2023-01-31 16:48:01\"},{\"id\":281,\"chatId\":\"200-7-178a07b488\",\"accountName\":\"1614\",\"accountPhone\":\"15297771614\",\"accountId\":\"101100008584\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 17:06:31\",\"endTime\":\"2023-01-31 17:11:30\",\"createTime\":\"2023-01-31 17:06:29\",\"updateTime\":\"2023-01-31 17:11:30\"},{\"id\":285,\"chatId\":\"200-7-edb864c7fb\",\"accountName\":\"3333\",\"accountPhone\":\"17422223333\",\"accountId\":\"1021000861691\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":2,\"dealStatus\":2,\"remark\":\"坐席主动发起\",\"beginTime\":\"2023-01-31 17:22:55\",\"endTime\":\"2023-01-31 17:23:11\",\"createTime\":\"2023-01-31 17:22:54\",\"updateTime\":\"2023-01-31 17:23:10\"},{\"id\":287,\"chatId\":\"200-7-edb8611e71\",\"accountName\":\"1133\",\"accountPhone\":\"18911111133\",\"accountId\":\"1021000621681\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 17:28:23\",\"endTime\":\"2023-01-31 17:33:30\",\"createTime\":\"2023-01-31 17:28:23\",\"updateTime\":\"2023-01-31 17:33:30\"},{\"id\":290,\"chatId\":\"200-7-edb860d03c\",\"accountName\":\"6666\",\"accountPhone\":\"15855556666\",\"accountId\":\"1021000601660\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-01-31 17:34:51\",\"endTime\":\"2023-01-31 17:39:50\",\"createTime\":\"2023-01-31 17:34:51\",\"updateTime\":\"2023-01-31 17:39:50\"},{\"id\":294,\"chatId\":\"200-7-178a07b488\",\"accountName\":\"1614\",\"accountPhone\":\"15297771614\",\"accountId\":\"101100008584\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-01-31 17:39:51\",\"endTime\":\"2023-01-31 17:45:00\",\"createTime\":\"2023-01-31 17:39:50\",\"updateTime\":\"2023-01-31 17:45:00\"},{\"id\":307,\"chatId\":\"200-7-edb860d03c\",\"accountName\":\"6666\",\"accountPhone\":\"15855556666\",\"accountId\":\"1021000601660\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-02-01 08:45:26\",\"endTime\":\"2023-02-01 08:50:30\",\"createTime\":\"2023-02-01 08:45:22\",\"updateTime\":\"2023-02-01 08:50:30\"},{\"id\":308,\"chatId\":\"200-7-178a07acbd\",\"accountName\":\"2334\",\"accountPhone\":\"15927352334\",\"accountId\":\"101100006589\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-02-01 08:45:53\",\"endTime\":\"2023-02-01 08:51:00\",\"createTime\":\"2023-02-01 08:45:52\",\"updateTime\":\"2023-02-01 08:51:00\"},{\"id\":310,\"chatId\":\"200-7-edb860d03c\",\"accountName\":\"6666\",\"accountPhone\":\"15855556666\",\"accountId\":\"1021000601660\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-02-01 08:54:44\",\"endTime\":\"2023-02-01 08:55:44\",\"createTime\":\"2023-02-01 08:54:42\",\"updateTime\":\"2023-02-01 08:55:44\"},{\"id\":311,\"chatId\":\"200-7-178a07acbd\",\"accountName\":\"2334\",\"accountPhone\":\"15927352334\",\"accountId\":\"101100006589\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-02-01 08:55:17\",\"endTime\":\"2023-02-01 08:55:44\",\"createTime\":\"2023-02-01 08:55:16\",\"updateTime\":\"2023-02-01 08:55:44\"},{\"id\":374,\"chatId\":\"200-7-178a07b488\",\"accountName\":\"1614\",\"accountPhone\":\"15297771614\",\"accountId\":\"101100008584\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-02-01 11:03:51\",\"endTime\":\"2023-02-01 11:05:50\",\"createTime\":\"2023-02-01 11:03:50\",\"updateTime\":\"2023-02-01 11:05:50\"},{\"id\":376,\"chatId\":\"200-7-178a07b488\",\"accountName\":\"1614\",\"accountPhone\":\"15297771614\",\"accountId\":\"101100008584\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-02-01 11:12:51\",\"endTime\":\"2023-02-01 11:15:01\",\"createTime\":\"2023-02-01 11:12:50\",\"updateTime\":\"2023-02-01 11:15:00\"},{\"id\":380,\"chatId\":\"200-7-edf404090e\",\"accountName\":\"陈雪纤\",\"accountPhone\":\"13422223333\",\"accountId\":\"1022001154318\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-02-01 11:20:51\",\"endTime\":\"2023-02-01 11:22:50\",\"createTime\":\"2023-02-01 11:20:50\",\"updateTime\":\"2023-02-01 11:22:50\"},{\"id\":389,\"chatId\":\"200-7-eb645a1c53\",\"accountName\":\"1144\",\"accountPhone\":\"18911111144\",\"accountId\":\"1011000941651\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"\",\"beginTime\":\"2023-02-01 14:28:50\",\"endTime\":\"2023-02-01 14:29:04\",\"createTime\":\"2023-02-01 14:28:49\",\"updateTime\":\"2023-02-01 14:29:03\"},{\"id\":398,\"chatId\":\"200-7-edb8611e71\",\"accountName\":\"1133\",\"accountPhone\":\"18911111133\",\"accountId\":\"1021000621681\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-02-01 14:45:41\",\"endTime\":\"2023-02-01 14:46:54\",\"createTime\":\"2023-02-01 14:45:40\",\"updateTime\":\"2023-02-01 14:46:53\"},{\"id\":401,\"chatId\":\"200-7-edf404090e\",\"accountName\":\"陈雪纤\",\"accountPhone\":\"13422223333\",\"accountId\":\"1022001154318\",\"seatName\":\"丹丹\",\"seatNumber\":\"100101\",\"chatFlag\":1,\"dealStatus\":2,\"remark\":\"超时自动转接\",\"beginTime\":\"2023-02-01 14:48:31\",\"endTime\":\"2023-02-01 14:50:30\",\"createTime\":\"2023-02-01 14:48:31\",\"updateTime\":\"2023-02-01 14:50:30\"}]";

		JSONArray objects = JSON.parseArray(s);

		System.out.println(objects);
	}

}
